package com.test.project.entity;

import java.math.BigDecimal;

public class RedisMonitor {

    String id;
    BigDecimal cpu;
    BigDecimal memory;

    public RedisMonitor(String id, BigDecimal cpu, BigDecimal memory) {
        this.id = id;
        this.cpu = cpu;
        this.memory = memory;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getCpu() {
        return cpu;
    }

    public void setCpu(BigDecimal cpu) {
        this.cpu = cpu;
    }

    public BigDecimal getMemory() {
        return memory;
    }

    public void setMemory(BigDecimal memory) {
        this.memory = memory;
    }
}
